h=0
while 1:
    h+=1
    if h==10:
        break
    else:
        l=0
        while 1:
            l+=1
            if l>h:
                break
            else:
                print("%2d*%2d=%2d"%(l,h,h*l),end="")
        print("\n")